<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict //EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang-"en" lang="en">
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <title><?=$title;?></title>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
    <link rel="stylesheet/less" type="text/css" href="<?=base_url(); ?>css/style.less"/>
    <script type="text/javascript" src="<?=base_url(); ?>js/less-1.1.3.min.js"></script>
    <script type="text/javascript">
        var base_url = "<?= base_url();?>";

    </script>

    <script type="text/javascript" src="<?=base_url(); ?>fancybox/jquery.mousewheel-3.0.4.pack.js"></script>
    <script type="text/javascript" src="<?=base_url(); ?>fancybox/jquery.fancybox-1.3.4.pack.js"></script>
    <link rel="stylesheet" type="text/css" href="<?=base_url(); ?>fancybox/jquery.fancybox-1.3.4.css" media="screen"/>


    <? if (isset($scripts)): ?>
    <? foreach ($scripts as $script): ?>
        <script type="text/javascript" src="<?=base_url(); ?>js/<?=$script?>"></script>
        <? endforeach; ?>
    <? endif; ?>

</head>

<body>
<div id='header'>
    <a href=''><img src="<?=base_url(); ?>images/layout/icon_settings.png" alt="s"/>Settings</a>

    <a href='<?=base_url("auth/logout")?>'><img src="<?=base_url(); ?>images/layout/icon_logout.png" alt='s'/>Logout</a>
</div>

<div id='container'>
    <?= $content; ?>
</div>

</body>
</html>
